<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
			<img src="image/bg_chs.png" >
			<h2>注册账号</h2>
		<form action="" method="get">
			<p>
				<label for="nicheng">昵称：</label>
				<input type="text" id="nicheng" required pattern="[——\w\u4E00——\u9FA5]{4,10}"/>
				长度为4-10个字符
			</p>
			<p>
				<label for="mima">密码：</label>
				<input type="password" id="mima" required pattern="[\dA——Za——z]{6,16}"/>
				长度为6-16个字符
			</p>
			<p>
				<label for="queren">确认密码：</label>
				<input type="password" id="queren" required/>
				长度为6-16个字符
			</p>
			<p>
				<label for="shouji">手机号码：</label>
				<input type="text" id="shouji" required pattern="1[3578]\d{9}">
				以13|5|7|8|开头
			</p>
			<p>
				<label for="youxiang">邮箱：</label>
				<input type="email" id="youxiang" required/>
			</p>
			<p>
				<label for="nianling">年龄：</label>
				<input type="text" id="nianling" required pattern="\d|[1——9]\d|1[0——2]\d]"/>
			</p>
			<p>
				<input type="image" src="image/btn.bmp" />
			</p>
		</form>
		
	</body>
</html>
